﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExcelFileQueryTool
{
    public sealed class ExcelWorkLogSheetInfo
    {
        public String Name { get; private set; }

        public int DataRowBegin { get; private set; }

        public int DataRowEnd { get; private set; }

        public bool HasRecordedOnBook { get; private set; }

        public bool HasContentRow { get; set; }

        public bool HasContentRowLoaded { get; set; }

        public ExcelWorkLogSheetInfo(String name, int rowBegin, int rowEnd, bool recorded = true, bool hasContent = false, bool loaded = false)
        {
            Name = name;
            DataRowBegin = rowBegin;
            DataRowEnd = rowEnd;
            HasRecordedOnBook = recorded;
            HasContentRow = hasContent;
            HasContentRowLoaded = loaded;
        }
    }
}
